package com.hxs.hxsserver.domain.dto.device;


import com.hxs.hxsserver.domain.entity.device.AlarmRule;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author liuchuan
 * @create 2024/9/27
 */
@Data
public class FactorDTO {
    private int id;

    /**
    * 因子名称
    */
    @ApiModelProperty(value = "因子名称")
    private String factorName;

    /**
    * 节点编号
    */
    @ApiModelProperty(value = "节点编号")
    private Integer nodeNo;

    private Date createTime;

    private Date updateDate;

    /**
     * 偏差
     */
    @ApiModelProperty(value = "偏差")
    private String deviation;

    /**
     * 系数
     */
    @ApiModelProperty(value = "系数")
    private String coefficient;

    /**
     * 小数位数
     */
    @ApiModelProperty(value = "小数位数")
    private String digit;

    /**
     * 因子单位
     */
    @ApiModelProperty(value = "因子单位")
    private String unit;

    /**
     * 因子使能，1是打开，0是关闭
     */
    @ApiModelProperty(value = "因子使能，1是打开，0是关闭")
    private String enable;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 数据类型
     */
    @ApiModelProperty(value = "数据类型")
    private String dataType;

    /**
     * 设备硬件地址码，长度十位
     */
    @ApiModelProperty(value = "设备硬件地址码，长度十位")
    private String deviceHardwareAddr;

    @ApiModelProperty(value = "报警规则")
    private AlarmRule alarmRule;

}